<?php /* Smarty version 2.6.26, created on 2012-07-06 21:52:34
         compiled from login.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'utf8_escape_js', 'login.html', 7, false),array('modifier', 'cat', 'login.html', 22, false),array('modifier', 'utf8_escape_html', 'login.html', 23, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script type="text/javascript">
	function validate()
	{
        var email = document.getElementById('login');
        
        if(isEmptyTextBox(email, '<?php echo ((is_array($_tmp=@_LB_EMAIL_IS_EMPTY)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
'))
			return false;
        if(!isValidLengthTextBox(email, <?php echo @MAX_LENGTH_NAME; ?>
, '<?php echo ((is_array($_tmp=@_MSG_EMAIL_IS_TOO_LONG)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
')){
            return false;
        }
        
        if(!isValidEmail(email,'<?php echo ((is_array($_tmp=@_LB_INVALID_EMAIL)) ? $this->_run_mod_handler('utf8_escape_js', true, $_tmp) : smarty_modifier_utf8_escape_js($_tmp)); ?>
')){
            return false;
        }
        document.user_login.submit();
    }
</script>
<div class="one_center">
	<div class="box_two_third">
		<div class="login_form" style="text-align:left;">
			<form name="user_login" method="post" action="<?php echo ((is_array($_tmp=@APPLICATION_URL)) ? $this->_run_mod_handler('cat', true, $_tmp, '/login/login') : smarty_modifier_cat($_tmp, '/login/login')); ?>
" onsubmit="return true;">
				<div class="box_head"><?php echo ((is_array($_tmp=@_LB_IDENTIFICATION)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
</div>
				<div class="box_content">
					<div class="right">
						<div style="padding-right : 10px;"><input type="text" style="width:180px;" id="login" name="login" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['login'])) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
" maxlength="255"/></div>
						<div style="padding-top:5px; padding-right: 10px;"><input type="password" style="width:180px;" id="pwd" name="pwd" value="" maxlength="20"/></div>
					</div>
					<div style="padding-top: 5px; padding-left: 10px;"><?php echo ((is_array($_tmp=@_LB_LOGIN)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
&nbsp;:&nbsp;<?php echo @_LB_REQUIRE_FIELD; ?>
</div>
					<div style="padding-top: 15px; padding-left: 10px;">
						<?php echo ((is_array($_tmp=@_LB_PASSWORD)) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
&nbsp;:&nbsp;<?php echo @_LB_REQUIRE_FIELD; ?>

					</div>
					<div style="text-align: right; padding-top: 10px; clear:right;">
						<a class="tribullet" href="#" onclick="validate()"><?php echo @_LB_CONNECTION; ?>
</a>
					</div>
				</div>
                <input type="submit" style="width:0; height:0; border:0; background-color:inherit;overflow:hidden;"/>
				<input type="hidden" name="return_link" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['return_link'])) ? $this->_run_mod_handler('utf8_escape_html', true, $_tmp) : smarty_modifier_utf8_escape_html($_tmp)); ?>
"/>
			</form>
		</div>
	</div>
	<div style="text-align:center">
		<?php if (isset ( $this->_tpl_vars['message_error'] )): ?>
			<div class="spacer"></div>
			<?php if (is_array ( $this->_tpl_vars['message_error'] )): ?>
				<?php $_from = $this->_tpl_vars['message_error']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['message']):
?>
					<?php echo $this->_tpl_vars['message']; ?>
<br />
				<?php endforeach; endif; unset($_from); ?>
			<?php else: ?>
				<span class="message_erreur"><?php echo $this->_tpl_vars['message_error']; ?>
</span>
			<?php endif; ?>
		<?php endif; ?>
	</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>